<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<form name="board_make" action="" method="post" onsubmit = "return board();">
	<input type="hidden" name="setp" id="setp" value="1"/>
	<input type="hidden" name="uid" value="$uid"/>
	<input type="hidden" name="action" value="$action"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th colspan="4">$lang[board_settings]</th>
		</tr>
		<tr >
			<td class="td_left">$lang[web_url]</td>
			<td colspan="3">
			<input type="text" name="board_gohome" id="board_gohome" value="$board_gohome" size="38" maxLength="50" class="text" />
			<input type="text" name="board_gohome_target" id="board_gohome_target" value="$board_gohome_target" size="8" maxLength="12" class="text" />
			</td>
		</tr>
		<tr >
			<td class="td_left1">$lang[board_code]</td>
			<td width="35%"><input type="text" onkeyup="value=value.replace(/[\W]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" name="board_code" id="board_code" value="$board_name_code" size="38" maxlength="255" class="text" /></td>
			<td class="td_left">$lang[board_title]</td>
			<td width="35%"><input type="text" name="board_title" id="board_title" value="$board_title" size="38" maxlength="255" class="text" /></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[article_size]<p class="cpsm">←$lang[article_msg].</p></td>
			<td><input type="text" name="str_length" id="str_length" value="$str_length" size="38" maxLength="10" class="text" /></td>
			<td class="td_left1">$lang[number_page]<p class="cpsm">←$lang[number_msg].</p></td>
			<td><input type="text" name="list_num" id="list_num" value="$list_num" size="38" maxLength="10" class="text"/></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[pages_lower]<p class="cpsm">←$lang[pages_msg].</p></td>
			<td><input type="text" name="page_num" id="page_num" value="$page_num" size="38" maxlength="10" class="text" /></td>
			<td class="td_left1">$lang[reply_directory]<p class="cpsm">←$lang[reply_msg].</p></td>
			<td><input type="text" name="comment_num" id="comment_num" value="$comment_num" size="38" maxlength="10" class="text" /></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[description]</td>
			<td><textarea name="desc_text" id="desc_text" rows="5" cols="30" class="text">$desc_text</textarea></td>
			<td class="td_left1">$lang[info]</td>
			<td><textarea name="formula" id="formula" rows="5" cols="30" class="text">$formula</textarea></td>
		</tr>
	</table>
	
	
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th colspan="6">$lang[boards_choice]</th>
		</tr>
		<tr >
			<td class="td_left1" width="20%">$lang[article_output]<p class="cpsm">←$lang[output_msg].</p></td>
			<td><input type="checkbox" name="use_list" id="use_list" value="1" $title_chk /></td>
			<td class="td_left1" width="20%">$lang[obscenity_filter]</td>
			<td><input type="checkbox" name="use_filter" id="use_filter" value="1"  $filter_chk /></td>
			<td class="td_left1" width="20%">$lang[category_use]</td>
			<td><input type="checkbox" name="use_category" id="use_category" value="1" $category_chk /></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[wrote_code]</td>
			<td><input type="checkbox" name="write_code" id="write_code" value="1" $write_chk/></td>
			<td class="td_left1">$lang[article_code]</td>
			<td><input type="checkbox" name="reply_code" id="reply_code" value="1" $reply_chk/></td>
			<td class="td_left1">$lang[use_html]<p class="cpsm">←$lang[use_msg]</p></td>
			<td><input type="checkbox" name="use_html" id="use_html" value="1" $html_chk/></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[autolink]<p class="cpsm">←$lang[autolink_msg].</p></td>
			<td><input type="checkbox" name="use_autolink" id="use_autolink" value="1" $autolink_chk /></td>
			<td class="td_left1">$lang[simple_reply]</td>
			<td><input type="checkbox" name="use_comment" id="use_comment" value="1" $comment_chk /></td>
			<td class="td_left1">$lang[whisper]<p class="cpsm">←$lang[whisper_msg]</p></td>
			<td><input type="checkbox" name="use_secret" id="use_secret" value="1" $secret_chk /></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[search]</td>
			<td><input type="checkbox" name="use_search" id="use_search" value="1" $search_chk  /></td>
			<td class="td_left1">$lang[time_limit]<p class="cpsm">←$lang[time_msg]</p></td>
			<td><input type="checkbox" name="use_spam" id="use_spam" value="1" $spam_chk /></td>
			<td class="td_left1">$lang[remote_connectivity]<p class="cpsm">←$lang[remote_connectivity].</p></td>
			<td><input type="checkbox" name="use_admin_remail" id="use_admin_remail" value="1" $use_chk/></td>
		</tr>
	</table>
	
	
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th colspan="6">$lang[permissions_access]</th>
		</tr>
		<tr >
			<td class="td_left">$lang[show_directory]</td>
			<td>$list_menu</td>
			<td class="td_left">$lang[contents_competence]</td>
			<td>$view_menu</td>
			<td class="td_left">$lang[wrote_authority]</td>
			<td>$write_menu</td>
		</tr>
		<tr >
			<td class="td_left1">$lang[restore_authority]</td>
			<td>$comme_menu</td>
			<td class="td_left1">$lang[restore]</td>
			<td>$reply_menu</td>
			<td class="td_left1">$lang[wrote_authority]</td>
			<td>$notice_menu</td>
		</tr>
		<tr >
			<td class="td_left1">$lang[amend_articles]</td>
			<td>$modify_menu</td>
			<td class="td_left1">$lang[delete_article]</td>
			<td>$delete_menu</td>
			<td class="td_left1">$lang[whisper_authority]</td>
			<td>$secret_menu</td>
		</tr>
		<tr >
			<td class="td_left1">$lang[html_access]</td>
			<td colspan="5">$html_menu</td>
		</tr>
	</table>


	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th width="4%">ID</th>
			<th width="56%">$lang[see_article]</th>
			<th>$lang[operation]</th>
		</tr>
		<tr >
			<td>1</td>
			<td class="td_left1">$lang[obscenity_filter]
		  <p class="cpsm">↑$lang[obscenity_msg]</p></td><td><textarea name="filter_text" id="filter_text" rows="5" cols="35" class="text">他$filter_text</textarea></td>
		</tr>
		<tr >
			<td>2</td>
			<td class="td_left1">$lang[send_author]</td>
			<td>
			<input type="radio" name="remote_connect" value="0" $conn_chk />
			$lang[remote]
			<input type="radio" name="remote_connect" value="1" $remote_chk/>
			$lang[not_remote]</td>
		</tr>
		<tr >
			<td>3</td>
			<td class="td_left1">$lang[ip_choice]</td>
			<td>
			<input type="radio" name="ip_select" value="0" $ip_reschk />
			$lang[ip_restrictions]
			<input type="radio" name="ip_select" value="1" $ip_shiechk />
			$lang[ip_shielding]
			<input type="radio" name="ip_select" value="2" $ip_allowchk/>
			$lang[ip_allows]</td>
		</tr>
		<tr >
			<td>4</td>
			<td class="td_left1">$lang[ip_shielding] <p class="cpsm">↑$lang[msg_shielding]</p></td>
			<td><textarea name="ip_close" id="ip_close" rows="5" cols="35" class="text">$ip_close</textarea></td>
		</tr>
		<tr >
			<td>5</td>
			<td class="td_left1">$lang[ip_allows]<p class="cpsm">↑$lang[msg_allows].</p></td>
			<td><textarea name="ip_connect" id="ip_connect" rows="5" cols="35" class="text">$ip_connect</textarea></td>
		</tr>
		<tr >
			<td>6</td>
			<td class="td_left1">$lang[shielding_users]<p class="cpsm">↑$lang[shiel_msg].</p></td>
			<td><textarea name="name_close" id="name_close" rows="5" cols="35" class="text">$name_close</textarea></td>
		</tr>
	</table>
	<div id="tfoot"><input type="submit" name="Submit" value="&nbsp;$lang[submit]&nbsp;" onclick="" /> <input type="reset" name="reset" value="&nbsp;$lang[reset]&nbsp;" /></div>
	</form>
</div>
<!--
EOT;
?>-->